#ifndef __XWRITE_TASK_H__
#define __XWRITE_TASK_H__

#include "xiostream.h"
#include <fstream>
#include <string>

class XWriteTask:public XIOStream
{
public:
    bool init(const std::string &fileName);
private:
    virtual void handle() override;
private:
    std::ofstream ofs_;
};

#endif 

